/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.googlecode.hfdpexample;

import com.googlecode.hfdpexample.behavior.FlyWithWings;
import com.googlecode.hfdpexample.behavior.Quack;

/**
 *
 * @author samwang
 */
public class MallardDuck extends Duck {

    public MallardDuck() {
        quackBehavior = new Quack();
        flyBehavior = new FlyWithWings();
    }
    

    @Override
    void display() {
//        super.display();
        System.out.print("I'm a real Mallard duck");
    }
    
}
